package com.example.demo.nuoqi.service;

import com.example.demo.nuoqi.pojo.Inviteapplication;
import com.github.pagehelper.PageInfo;

import java.util.List;

/****
 * @Author:shenkunlin
 * @Description:Inviteapplication业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface InviteapplicationService {

    /***
     * Inviteapplication多条件分页查询
     * @param inviteapplication
     * @param page
     * @param size
     * @return
     */
    PageInfo<Inviteapplication> findPage(Inviteapplication inviteapplication, int page, int size);

    /***
     * Inviteapplication分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<Inviteapplication> findPage(int page, int size);

    /***
     * Inviteapplication多条件搜索方法
     * @param inviteapplication
     * @return
     */
    List<Inviteapplication> findList(Inviteapplication inviteapplication);

    /***
     * 删除Inviteapplication
     * @param id
     */
    void delete(Integer id);

    /***
     * 修改Inviteapplication数据
     * @param inviteapplication
     */
    void update(Inviteapplication inviteapplication);

    /***
     * 新增Inviteapplication
     * @param inviteapplication
     */
    void add(Inviteapplication inviteapplication);

    /**
     * 根据ID查询Inviteapplication
     * @param id
     * @return
     */
     Inviteapplication findById(Integer id);

    /***
     * 查询所有Inviteapplication
     * @return
     */
    List<Inviteapplication> findAll();
}
